package com.foreveross.fetl.core.domain.freight.repository;

import java.util.Date;
import java.util.List;

import com.foreveross.fetl.common.jpa.IBaseRepository;
import com.foreveross.fetl.core.domain.freight.AirChinaDomesticEntity;

public interface IAirChinaDomesticRepository extends IBaseRepository {

	public List<AirChinaDomesticEntity> findByCondition(Date reportDate,
			Date flightDate, String fromCity, String toCity, String flightNo,
			String carrierKey,String hbaseKey);
	
	/**
	 * 从hbase 入库 mysql
	 * @param airCompanys
	 * @param compareChanels
	 * @param formCity
	 * @param toCity
	 * @param reportDate
	 * @param flightDate
	 * @return
	 */
	public int creatReport(List<String> airCompanys, String formCity,
			String toCity, Date reportDate, Date flightDate);

}
